package com.fatiny.core.db;

import org.apache.commons.lang3.StringUtils;

import com.fatiny.core.db.po.Properties;

public class ExcelAssistProperties extends Properties{
	
	private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(ExcelAssistProperties.class);
	
	public void setProperties(String properties) {
		if (StringUtils.isBlank(properties)) {
			log.debug("properties is null, please check it");
			return;
		}
		String [] props = properties.trim().split("_");
		setType(props[0]);
		setField(props[1]);
	}

}
